<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Bargain extends Model
{
    use HasFactory;
    protected $table = 'bargain';
    protected $guarded = [];
    public function bargain_user(){
        return $this->hasOne(Bargain_User::class,'bargain_id','product_id');
    }
}
